CRPEFontColorInfo
CRPEFontColorInfo contains information regarding the fonts used in a chart.
Data Members
- Each data member is set by the corresponding constructor parameter.
- The default value for each data member is 0, except for m_faceName and m_color.
Member
| Type
| Description
|
m_faceName
| _TCHAR
| Specifies the font face name (of length PEP_FACE_NAME_LEN = 64). Use an empty string ("") for no change. Default is '\0'.
|
m_fontFamily
| short
| Specifies the font family. Use FF_DONTCARE for no change.
|
m_fontPitch
| short
| Specifies the font pitch. Use DEFAULT_PITCH for no change.
|
m_charSet
| short
| Specifies the font charset. Use DEFAULT_CHARSET for no change.
|
m_pointSize
| short
| Specifies the desired point size for the selected font. Use this member or member twipSize to specify the font size. If both members are non-zero, then this member will be ignored and twipSize will be used. Pass 0 for both twipSize and pointSize for no change.
|
m_isItalic
| short
| Boolean. If TRUE, the text is italic. Use PEP_UNCHANGED for no change.
|
m_isUnderlined
| short
| Boolean. If TRUE, the text is underlined. Use PEP_UNCHANGED for no change.
|
m_isStruckOut
| short
| Boolean. If TRUE, the text is struckout. Use PEP_UNCHANGED for no change.
|
m_weight
| short
| Specifies the font weight. Use 0 for no change.
|
m_color
| COLORREF
| Specifies Windows COLORREF or PEP_UNCHANGED_COLOR or no change. Default is PEP_UNCHANGED_COLOR.
|
m_twipSize
| short
| Specifies the font size, in twips. Use this member or member pointSize to specify the font size. If both members are non-zero, then this member will be used and pointSize will be ignored. Pass 0 for both twipSize and pointSize for no change.
|
Constructor CRPEFontColorInfo::CRPEFontColorInfo
This constructs a CRPEFontColorInfo structure object. Call the constructor with no parameters to allow the Class Library to initialize all member variables with default values. Pass parameters to the constructor to assign specific values to each member variable.
Constructor Syntax (Default)
CRPEFontColorInfo ()
Constructor Syntax
CRPEFontColorInfo (
const _TCHAR *faceName,
short fontFamily,
short fontPitch,
short charSet,
short pointSize,
short isItalic,
short isUnderlined,
short isStruckOut,
short weight,
COLORREF color
short twipSize );
CRPEFormulaSyntax
CRPEFormulaSyntax contains information related to the syntax of the specified formula.
Data Members
- Each data member is set by the corresponding constructor parameter.
- The default for each member of the m_formula syntax array is 0 (PEP_FST_CRYSTAL).
Member
| Type
| Description
|
m_formulaSyntax
| short
| Specifies an array (of size PEP_FS_SIZE = 2) which contains the formula syntax information as PEP_FST_XXX Formula Syntax Constants constants or PEP_UNCHANGED for no change.
|
Constructor CRPEFormulaSyntax::CRPEFormulaSyntax
This constructs a CRPEFormulaSyntax structure object. It assigns default values to the members of the structure.
Constructor Syntax (Default)
CRPEFormulaSyntax ()